<ul  id="dropmenu{dede:field.typeid/}" class="dropMenu">
{dede:sql sql='Select * from yf_arctype where reid=~id~  ORDER BY id limit 0,7'}
<li><a href='[field:typedir/]' >[field:typename/]</a></li>
{/dede:sql}
</ul>